package org.csu.xzypetstore.persistence;

import org.csu.xzypetstore.domain.Account;
import org.springframework.stereotype.Repository;

@Repository
public interface AccountMapper {
    Account getAccountByUsernameAndPassword(Account account);


    Account getAccountByUsername(Account account);

    Boolean insertAccount(Account account);

    Boolean insertProfile(Account account);

    Boolean insertSignon(Account account);

    Boolean updateAccount(Account account);

    Boolean updateProfile(Account account);

    Boolean updateSignon(Account account);
}

